package testmybatis.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import testmybatis.mapper.CompanyMapper;

/**
 * @Description TODO
 * @Author dangxianyue
 * @Date 2024/3/27 16:51
 */
@Component
public class CompanyService {

    @Autowired
    private CompanyMapper companyMapper;

    public void test() {
        System.out.println(companyMapper);
        System.out.println(companyMapper.getCompanyName());
    }
}
